package com.example.httpdemo.retrofit.service

import com.example.httpdemo.entity.Electric
import com.example.httpdemo.entity.ResponseData
import com.example.httpdemo.front.GetElectricOneInfo
import retrofit2.Call
import retrofit2.http.Body
import retrofit2.http.POST

interface ElectricService {
    @POST("getelctricone")
    fun getElctricOne(@Body getElectricOneInfo: GetElectricOneInfo) : Call<ResponseData<Electric>>
}